﻿<ContentDialog 
    x:Name="ContentDialog"
    x:Class="Sidvall.UI.Uwp.Dialogs.WebDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Sidvall.UI.Uwp.Dialogs"
    xmlns:vms="using:Sidvall.UI.ViewModels"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    FullSizeDesired="True"
    PrimaryButtonCommand="{Binding ActionCommand}" PrimaryButtonText="{Binding ActionCaption}" 
    mc:Ignorable="d">

    <Grid d:DataContext="{d:DesignInstance vms:WebControlViewModel, IsDesignTimeCreatable=True}">
        <WebView x:Name="WebView" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" />
    </Grid>
</ContentDialog>
